<template>
	<div class="admin-agreement-view">
		<iframe style="width: 100%;height: 100%;" :src="viewModel"></iframe>
	</div>
</template>

<script>
	export default {
		data() {
			return {
				viewModel: null
			}
		},
		mounted() {
			this.init()
		},
		methods: {
			async init() {
				this.viewModel = this.$route.query.url
			}
		}
	}
</script>

<style lang="scss">
	.admin-agreement-view {
		width: 100%;
		height: 100%;
	}
</style>